<?php
/**
 * Created by PhpStorm.
 * User: alice
 * Date: 2015/12/26
 * Time: 14:14
 */

/**
 * Class Involved_UserModel
 */

class Involved_DeviceModel extends BaseModel{

    protected $table = 'device';

    /**
     * 清空设备
     * @param $mobile
     * @return mixed
     */
    public function ClearDeviceInfoById($mobile)
    {
        return  DB::table($this->table)->where(['mobile' => $mobile])->delete();
    }
}